﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Servicios.Data.DataBases.Biblioteca
{
    public partial class PaisDTO
    {

        #region IDataTransferObject<PaisDTO> Members

        public List<PaisDTO> GetAll()
        {
            using (BibliotecaContext bib = new BibliotecaContext())
            {
                var q = from pais in bib.PaisSet orderby pais.Nombre select pais;
                return q.ToList();
            }
        }

        public PaisDTO GetByID(int id)
        {
            throw new NotImplementedException();
        }

        public void Save()
        {
            throw new NotImplementedException();
        }

        public void Update()
        {
            throw new NotImplementedException();
        }

        public void Delete()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
